﻿using Autodesk.AutoCAD.Runtime;
using AcAp = Autodesk.AutoCAD.ApplicationServices.Application;

namespace ChangDiTools {
    public class Command {
        [CommandMethod("ttt")]
        public static void Test()
        {

            var dialog = new WPFWindow();
            dialog.Height = 270;
            AcAp.ShowModalWindow(dialog);
        }
    }
}